package top.leyi.mapper;

import org.apache.ibatis.annotations.Update;
import top.leyi.entity.user.User;

public interface AuthMapper {

    @Update("UPDATE user_role SET role_id = #{roleId} WHERE user_id = #{id}")
    public void updateUserRole(User user);

}
